package com.sdkx.app.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
//自定义飞机场
@DatabaseTable(tableName = "AIRPORT")
public class CustomAirPort{
    @DatabaseField(generatedId = true,columnName = "ID")
    private int id;
    //自定义飞机场名称
    @DatabaseField(columnName = "NAME")
    private String name;
    //自定义飞机场纬度
    @DatabaseField(columnName = "LATITUDE")
    private double Latitude;
    //自定义飞机场经度
    @DatabaseField(columnName = "LONGITUDE")
    private double Longitude;
    //自定义飞机场创建时间
    @DatabaseField(columnName = "CREATE_TIME")
    private long Create_time;
    //自定义飞机场是否可以编辑
    @DatabaseField(columnName = "ISEDIT")
    private int Isedit;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLatitude() {
        return Latitude;
    }

    public void setLatitude(double latitude) {
        Latitude = latitude;
    }

    public double getLongitude() {
        return Longitude;
    }

    public void setLongitude(double longitude) {
        Longitude = longitude;
    }

    public long getCreate_time() {
        return Create_time;
    }

    public void setCreate_time(long create_time) {
        Create_time = create_time;
    }

    public int getIsedit() {
        return Isedit;
    }

    public void setIsedit(int isedit) {
        Isedit = isedit;
    }

    @Override
    public String toString() {
        return "CustomAirPort{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", Latitude=" + Latitude +
                ", Longitude=" + Longitude +
                ", Create_time=" + Create_time +
                ", Isedit=" + Isedit +
                '}';
    }
}
